package com.salt.system.model.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 用户角色关联关系
 *
 * @author HaiBo Kuang
 * @date 2021/4/24 12:54
 */
@Data
@ToString
@Table(name = "sys_user_authorities")
public class SysUserAuthorities {
    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * 用户角色id
     */
    @Column(name = "authorities_id")
    private Long authoritiesId;
}
